package com.hdoit.apollo.logical.cargo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.hdoit.apollo.logical.cargo.model.Collocation;
import com.tennetcn.data.dao.base.IMapper;

/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:23:22
 * @comment
 */
@Repository(value="collocationMapper")
public interface CollocationMapper extends IMapper<Collocation>{

	List<Collocation> queryListByCargoId(@Param("cargoId")String cargoId);

	Collocation queryModelByCargo(@Param("collocationId") String collocationId);

	List<Collocation> queryListForWechatByCargoId(@Param("cargoId")String cargoId, @Param("shopId")String shopId);

}